package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.time.LocalDateTime;

/**
 * @Auther: xjw
 * @Date: 2019/2/22 15:25
 * @Description:
 */
public class UserRole {

    @JSONField(name = "Id")
    private String id;

    @JSONField(name = "ParentId")
    private String parentId;

    @JSONField(name = "Name")
    private String name;


    @JSONField(name = "UserCode")
    private String userCode;

    @JSONField(name = "Email")
    private String email;


    //创建时间
    @JSONField(name = "CreateTime", format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    //创建人
    @JSONField(name = "CreateUser")
    private String createUser;

    // 0是默认， 1为删除
    @JSONField(name = "DeleteFlag")
    private String deleteFlag;

    // 0是默认，1 为锁定
    @JSONField(name = "IsLock")
    private int isLock;

    @JSONField(name = "LockTime", format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lockTime;


    @JSONField(name = "Mobile")
    private String mobile;

    @JSONField(name = "RoleId")
    private String roleId;

    @JSONField(name = "Telephone")
    private String telephone;

    @JSONField(name = "TryTimes")
    private int tryTimes;

    @JSONField(name = "UpdateTime", format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @JSONField(name = "UpdateUser")
    private String updateUser;

    @JSONField(name = "UserPwd")
    private String userPwd;

    //报警等级
    @JSONField(name = "AlarmLevel")
    private String alarmLevel;

    //所属集团
    @JSONField(name = "CompanyId")
    private String companyId;

    @JSONField(name = "CompanyName")
    private String companyName;

    @JSONField(name = "Language")
    private String language;

    @JSONField(name = "MallNumber")
    private Integer mallNumber;


    @JSONField(name = "RoleName")
    private String roleName;


    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Integer getMallNumber() {
        return mallNumber;
    }

    public void setMallNumber(Integer mallNumber) {
        this.mallNumber = mallNumber;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public int getIsLock() {
        return isLock;
    }

    public void setIsLock(int isLock) {
        this.isLock = isLock;
    }

    public LocalDateTime getLockTime() {
        return lockTime;
    }

    public void setLockTime(LocalDateTime lockTime) {
        this.lockTime = lockTime;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public int getTryTimes() {
        return tryTimes;
    }

    public void setTryTimes(int tryTimes) {
        this.tryTimes = tryTimes;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getAlarmLevel() {
        return alarmLevel;
    }

    public void setAlarmLevel(String alarmLevel) {
        this.alarmLevel = alarmLevel;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }


    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
